<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="/WEB-INF/views/include.inc.jsp"%>
<div class="pageContent">
<form method="post" action="${contextPath}/dict/createDict" class="required-validate pageForm" onsubmit="return validateCallback(this, dialogReloadNavTab);">
	<div class="pageFormContent" layoutH="58">
		<input name="id" value="${dict.id}" type="hidden"/>
		<p>
			<label>字典码：</label>
			<input type="text" name="code" value="${dict.code}" class="input-medium validate[required,maxSize[32]] required" maxlength="32"/>
		</p>
		<p>
			<label>字典值：</label>
			<input type="text" name="name" value="${dict.name}" class="input-medium validate[required,maxSize[32]] required" maxlength="32"/>
		</p>		
		<p class="nowrap">
			<label>备注：</label>
			<textarea name="remark"  cols="29" rows="3" maxlength="256" class="input-medium textarea-scroll">${dict.remark}</textarea>
		</p>
		
		<p>
			<label>排序：</label>
			<input type="text" value="${dict.priority}" name="priority" class="input-small validate[maxSize[32]]" maxlength="32"/>
		</p>		
				
	</div>
			
	<div class="formBar">
		<ul>
			<li><div class="button"><div class="buttonContent"><button type="submit">确定</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
		</ul>
	</div>
</form>
</div>